package org.charles.zhifou.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;

/**
 * 评分结果
 * @TableName scoring_result
 */
@Data
public class ScoringResult implements Serializable {
    @Schema(description = "id")
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;

    @Schema(description = "结果名称，如物流师")
    private String resultName;

    @Schema(description = "结果描述")
    private String resultDesc;

    @Schema(description = "结果图片")
    private String resultPicture;

    @Schema(description = "结果属性集合 JSON，如 [I,S,T,J]")
    private String resultProp;

    @Schema(description = "结果得分范围，如 80，表示 80及以上的分数命中此结果")
    private Integer resultScoreRange;

    @Schema(description = "应用 id")
    private Long appId;

    @Schema(description = "创建用户 id")
    private Long userId;

    @Schema(description = "创建时间")
    private Date createTime;

    @Schema(description = "更新时间")
    private Date updateTime;

    @Schema(description = "是否删除")
    @TableLogic
    @JsonIgnore
    private Integer isDeleted;

    @Serial
    private static final long serialVersionUID = 1L;
}